a5bf22bffad37b379571387d1f7fdb40f08c9e16,core/src/main/java/net/mabako/steamgifts/tasks/Utils.java,Utils,loadComment,#Element#number#number#boolean#Comment.Type#,78

Before Change


        // check if the comment is deleted
        comment.setDeleted(element.select(".comment__summary").first().select(".comment__delete-state").size() == 1);

        comment.setHighlighted(element.select(".comment__parent > .comment__envelope").size() != 0);

        Element roleName = element.select(".comment__role-name").first();
        if (roleName != null)

After Change


        // check if the comment is deleted
        if (type == Comment.Type.COMMENT) {
            comment.setDeleted(element.select(".comment__summary").first().select(".comment__delete-state").size() == 1);
            comment.setHighlighted(element.select(".comment__parent > .comment__envelope").size() != 0);

            Element roleName = element.select(".comment__role-name").first();
            if (roleName != null)